package com.xyht.sca_s.student_manage_system.modules.assetFixedInventory.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 我的资产
 * </p>
 *
 * @author XYHT
 * @since 2024-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_inventory_detail")
@ApiModel(value="SmsAssetInventoryDetail对象", description="我的资产")
public class SmsAssetInventoryDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资产自查表id")
    private String id;

    @ApiModelProperty(value = "计划id")
    private String planId;

    @ApiModelProperty(value = "资产自查计划id")
    private String inventoryId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "资产id")
    private String assetId;

    @ApiModelProperty(value = "资产自查的照片")
    private String inventoryPicture;

    @ApiModelProperty(value = "是否有扫描码 0:未有 默认1:有")
    private Integer isScanCode;

    @ApiModelProperty(value = "是否扫描成功 0:未成功 1:成功")
    private Integer inventoryIsScan;

    @ApiModelProperty(value = "资产自查状态 默认1:正常 0:异常")
    private Integer assetStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否完成 0:未完成 1:完成")
    private Integer isComplete;

    @ApiModelProperty(value = "完成时间")
    private Date completeTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    @ApiModelProperty(value = "是否删除 0：不删除，1删除")
    private Integer isDeleted;


}
